const http = uni.$u.http;

// 圈子动态表-分页列表查询
export const qxPlazaDynamicsList = (params) => http.get('/chihiro/qxPlazaDynamics/list', { params })

// 圈子动态表-通过id查询
export const qxPlazaDynamicsQueryById = (params) => http.get('/chihiro/qxPlazaDynamics/queryById', { params })

// 圈子动态表-通过id删除
export const qxPlazaDynamicsDel = (params) => http.delete('/chihiro/qxPlazaDynamics/delete', params, { header: { 'content-type': 'application/x-www-form-urlencoded' } })

//点赞OR取消
export const likeOrUnLike = (params) => http.post('/chihiro/qxPlazaDynamics/likeOrUnLike', params)

//转发
export const transmitDynamics = (params) => http.post('/chihiro/qxPlazaDynamics/transmitDynamics', params)

//圈子动态表-添加
export const qxPlazaDynamicsAdd = (params) => http.post('/chihiro/qxPlazaDynamics/add', params)

//圈子动态表-编辑
export const qxPlazaDynamicsEdit = (params) => http.post('/chihiro/qxPlazaDynamics/edit', params)